package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.BusContractInvoice;

/**
 * 合同开票Service接口
 * 
 * @author ruoyi
 * @date 2021-09-02
 */
public interface IBusContractInvoiceService 
{
    /**
     * 查询合同开票
     * 
     * @param invoiceId 合同开票主键
     * @return 合同开票
     */
    public BusContractInvoice selectBusContractInvoiceByInvoiceId(Long invoiceId);

    /**
     * 查询合同开票列表
     * 
     * @param busContractInvoice 合同开票
     * @return 合同开票集合
     */
    public List<BusContractInvoice> selectBusContractInvoiceList(BusContractInvoice busContractInvoice);

    /**
     * 新增合同开票
     * 
     * @param busContractInvoice 合同开票
     * @return 结果
     */
    public int insertBusContractInvoice(BusContractInvoice busContractInvoice);

    /**
     * 修改合同开票
     * 
     * @param busContractInvoice 合同开票
     * @return 结果
     */
    public int updateBusContractInvoice(BusContractInvoice busContractInvoice);

    /**
     * 批量删除合同开票
     * 
     * @param invoiceIds 需要删除的合同开票主键集合
     * @return 结果
     */
    public int deleteBusContractInvoiceByInvoiceIds(Long[] invoiceIds);

    /**
     * 删除合同开票信息
     * 
     * @param invoiceId 合同开票主键
     * @return 结果
     */
    public int deleteBusContractInvoiceByInvoiceId(Long invoiceId);
}
